 <%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.common.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/easyui/jquery.range.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/easyui/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/easyui/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/easyui/css/common.css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/jquery-1.8.1.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/js/master.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/jquery.range.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validateboxRules.js"></script>
<title>家庭人员查询</title>

<script type="text/javascript">
	$(window).ready(function(){
		getListPage();
	});

	//查询方法，带分页
	function getListPage(){
				 $.ajax({
						type:'POST',
						url: "<%=request.getContextPath()%>/residentPopulationController/findCriminalPersonsStatistics.action",
						dataType:'JSON',
						success:function(info){
							var data=info;
							
							$('#list').datagrid({   
							    data:data,   
							    columns:[[   
							        {field:'criminal',title:'犯罪类型',width:100},   
							        {field:'count',title:'数量',width:100}   
							    ]]   
							});  
						}
					});
	}
</script>
</head>
<body>
	<div class="easyui-layout" data-options="fit:true">	
	  		
			<div id="show"  data-options="region:'center'">
				<div style="padding-left:5px;padding-top:0px;">
					<div id="list" class="easyui-datagrid" ></div>
				</div>
			</div>
	</div>
</body>
</html>